home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / ums116bt.lha / UMS / Tools / ListManager / ListManager.doc < prev   
Text File  |  1995-05-31  |  10KB  |  270 lines

  1.  
  2.                     ListManager.rexx 1.20
  3.                     =====================
  4.  
  5. ListManager is a mailing list tool for the Universal Message System
  6. (UMS). It does not only easy handling of subscribed mailing lists
  7. (client mode) but also can serve them (server mode). In both cases
  8. ListManager works as an news-mail gateway, too.
  9.  
  10. In client mode ListManager sorts mails from incoming mailing lists
  11. into local newsgroups (import mode) or sends posting in this
  12. newsgroups to the corresponding mailinglist (export mode).
  13.  
  14. In server mode - well - ListManager serves mailing lists. In this case
  15. it sends all messages received to the subscribers of the mailing
  16. list, too. Messages are forwarded both from the lists mail account
  17. and the newsgroup corresponding to the mailing list.
  18.  
  19. Most people will use only client mode. Just skip the parts about
  20. server mode here in the docs :-)
  21.  
  22.  
  23. How does it work?
  24. -----------------
  25.  
  26. Client Mode:
  27.  · All incoming mails are scanned for ReplyName matching "Mailinglist
  28.    '#?'" (case insensitive). The mails are put into the newsgroup
  29.    mailinglist.#?, where #? is substituted by the #? of the above
  30.    pattern. Eg. "Mailinglist 'blasfasel'" goes into newgroup
  31.    "mailinglists.blafasel".
  32.  
  33.    Further, the mailinglists name and address are added to the config
  34.    variable, if not already present. The address is updated
  35.    automaticaly from the ReplyAddr field if necessary.
  36.  
  37.    If a mailinglist does not set a ReplyName like this, you can use
  38.    Klaus Melchior's SetFolder in order to correct the ReplyName!
  39.  
  40.  · For each known mailing list the corresponding newsgroup is scanned
  41.    for new postings. These are forwarded to the mailinglist by
  42.    sending it to the address found in the config variable.
  43.  
  44.  
  45. Server Mode:
  46.  · All mail to the ListManager deamon account is processed as
  47.    controll messages. This includes subscription, help and some more
  48.    commands (see below).
  49.  · All mailing lists found in the config var to be served here are
  50.    processed as follows:
  51.    - All mails for the mailing list are forwarded to the subscribers
  52.      and posted into the correspondig newsgroup. In this mode ToName
  53.      is testet instead of ReplyName (we are the list :-).
  54.    - All new postings in the corresponding newsgroup are forwarded to
  55.      the subscribers.
  56.  · Server mode implies client mode.
  57.  
  58.  
  59. Usage:
  60. ------
  61.  
  62. Template: NAME,PASSWORD,SERVER/K,NODEAMONACCOUNT/S,LOOP/K,DEBUGLEVEL/N/K
  63.  
  64. NAME
  65. PASSWORD
  66. SERVER
  67.   UMS standard command line options
  68.   (defaults to "lists" "" "")
  69.  
  70. NODEAMONACCOUNT
  71.   This is only useful if the ListManager runs on a real user account.
  72.  
  73.   NOTE: this is _not_ suggested usage. Please use an extra (deamon)
  74.         user whenever possible. If serving a list with no deamon
  75.         account you must be very careful not to mix addresses.
  76.  
  77.   If it isn't possible for you to use an extra user for mailinglist
  78.   handling (because you are limited to a single mail address eg. due
  79.   to POP) ListManager uses a userflag instead of "Old" to determine
  80.   which messages from newsgroups must be exported. This flag is
  81.   automatically reserved by using the config variable "flags.user".
  82.   Please check all other UMS tools which use userflags in order to
  83.   avoid conflics. If a tool does not support "user.flags" please
  84.   notify the author!
  85.  
  86. LOOP
  87.   Never quit ListManager just run it in a loop. After one loop is completed
  88.   the supplied command is started
  89.  
  90. DEBUGLEVEL
  91.   messages with log level lower or equal this value are not only
  92.   written to the UMS Logfile, but also to StdIO. (default: 5)
  93.  
  94.  
  95. Known Commands:
  96. ---------------
  97.  
  98. This server understands the commands:
  99.  
  100.     QUIT
  101.     HELP
  102.     USERS LIST/A
  103.     WHO LIST/A
  104.     INDEX
  105.     WHICH
  106.     ADD LIST/A,NAME/K,ADDR/K
  107.     SUBSCRIBE LIST/A,NAME/K,ADDR/K
  108.     REMOVE LIST/A,NAME/K,ADDR/K
  109.     DELETE LIST/A,NAME/K,ADDR/K
  110.     UNSUBSCRIBE LIST/A,NAME/K,ADDR/K
  111.     DESCRIPTION LIST/A
  112.     DESC LIST/A
  113.     INFO LIST/A
  114.  
  115. For detailed information, please refer to the example helpfile.
  116.  
  117.  
  118. Installation for Client Mode:
  119. -----------------------------
  120.  
  121. For using ListManager, it's quite usefull to have an extra user who
  122. gets all the mailinglists. The suggested name is "lists". For security
  123. reasons restrict EXPORT, WRITEACCESS and NETACCESS as far as
  124. possible.
  125.  
  126. If you are not able to use an extra deamon user you must use the
  127. NODEAMONACCOUNT argument. The only valid reason for not using an
  128. extra user is that you can only use exaclty one email address, eg.
  129. when using POP mail). NODEAMONACCOUNT invokes a lot of magic. It's
  130. very tricky. I propose the use of an extra user for this deamon stuff
  131. handling whenever possible.
  132.  
  133. If you are subscribed to a Mailinglist which does not create a ReplyName in
  134. the form of "Mailinglist 'Listname'" please use Klaus Melchior's SetFolder
  135. in oder to correct this. Here's an example configuration for SetFolder:
  136.  
  137. ( SetFolder.Folder
  138.     "AMOK-L  Comments  \"#?(To|Cc): #?amok-l@#?.uni-stuttgart.de#?\" \"Mailinglist 'AMOK',amok-l@listserv.uni-stuttgart.de\"\n"
  139.     "Envoy-L ReplyAddr \"beta@iam.com\" \"Mailinglist 'Envoy',beta@iam.com\""
  140. )
  141.  
  142. For the case you got some postings to be exported to mailinglists not
  143. already present in the config variable, this is the format :-)
  144.  
  145.     ( ListManager.Mailinglists
  146.         "Ums-DEV,Ums-Dev@lyssa.owl.de\n"
  147.         "Oberon-A,oberon-a@wossname.apana.org.au\n"
  148.         "AMOK,amok-l@listserv.uni-stuttgart.de" )
  149.  
  150. If only using client operation further configuration is not nesseccary!
  151. ListManager will automatically add all incoming mailinglist into it's config
  152. variable.
  153.  
  154.  
  155. Installation for Server Mode:
  156. -----------------------------
  157.  
  158. Okay, this is for the guys willing to run a mailinglist. This may
  159. look a bit compilcated but this is just do keep some nerd away ;-)
  160.  
  161. First of all you need an alias for your Deamon, suggested name is
  162. "ListServ" or "request". This may be the deamon user's name, but this
  163. is not suggested since you may use the same deamon account for other
  164. purposes. See also note below (ListManger.Server).
  165.  
  166. You also have to set the alias "postmaster" to your own account if you did
  167. not already to that. Users of the lists are instructed to send questions to
  168. this alias.
  169.  
  170. Then you need a bunch of extra config variables for handling the
  171. server stuff:
  172.  
  173. ListManager.Server
  174.   This is the name of the user which handles all requests. Enter here
  175.   the alias you just created. All mails with this ToName set are
  176.   handled as controll messages. The presence of this varibale is
  177.   taken as indicator whether to run in server mode, too.
  178.  
  179.   NOTE: Only one name is checked, so there is no use of adding more
  180.         aliases.
  181.  
  182. ListManager.HostName
  183.   This name of your host. In almost all cases this is identical to
  184.   rfc.domainname. If you are using "NODEAMONACCOUNT" you must use the
  185.   variable ListManager.Address instead!
  186.  
  187. ListManager.Address
  188.   Only if you are forced to use NODEAMONACCOUNT" you have to set this
  189.   variable. It must contain your one and only email address.
  190.  
  191.   HostName and Address are used to generate the reply address and the
  192.   footer added to every forwarded mail.
  193.  
  194. ListManager.Owner (optional)
  195.   Alias for the 'Owner' of ListManager, this is the person to
  196.   maintain setup, etc. usually the postmaster. This is used to
  197.   generate the Errors-To:-Header and the footer.
  198.   Default: postmaster
  199.  
  200. ListManager.HelpFile (optional but suggested)
  201.   Filename (including path) of a file describing the usage of
  202.   ListManger. Best to take the example helpfile included with the
  203.   distribution. Change the e-mail addresses at the top and bottom of
  204.   the text to suit your needs.
  205.  
  206. Per-list configuration
  207. ----------------------
  208.  
  209. Now you have set up the ListServer but there are no mailing list
  210. specified to be served. This is what has to be configurated for each
  211. mailinglist.
  212.  
  213. First of all you need two more aliases for your (deamon) user. So if
  214. you are serving "testlist" the appropriate UMS user must have the
  215. aliases "testlist" and "Mailinglist 'testlist'".
  216.  
  217. And again, some configuration variables:
  218.  
  219. ListManager.Mailinglists
  220.   This variable is well known from client operation. Those lists without an
  221.   address are run in server mode. Example (only "My-List" is served by the
  222.   local system):
  223.  
  224.     ( ListManager.Mailinglists
  225.         "Ums-DEV,Ums-Dev@lyssa.owl.de\n"
  226.         "My-List,\n"
  227.         "Oberon-A,oberon-a@wossname.apana.org.au\n"
  228.         "AMOK,amok-l@listserv.uni-stuttgart.de" )
  229.  
  230.   Add an appropriate line the this variable. Mind the comma!
  231.  
  232.  
  233. You need extra variables for each of the lists in server mode (<list>
  234. is to be substituted by the name of the list):
  235.  
  236. ListManager.<list>.group (optional)
  237.   Name of the newsgroup corresponsing to the mailinglist. Suggested
  238.   name is "mailinglist.<list>". If you ommit this variable ListManager does
  239.   not gate the mails to any newsgroup.
  240.  
  241. ListManager.<list>.descfile (optional)
  242.   Filename (including path) of a file containing a short description
  243.   about this mailinglist. This text can be requested using the
  244.   DESCRIPTION command.
  245.  
  246. ListManager.<list>.users
  247.   This will hold the names and addresses for the subscribers of the
  248.   list. ListManger will maintain it automatically for you. Example:
  249.  
  250.   ( ListManager.Testlist.users "" )
  251.  
  252.   And here's an example with some entries, just in case you need it:
  253.  
  254.   ( ListManager.Testlist.users
  255.       "Joe User,joe@site.sub.org\n"
  256.       "Otto Normalverbraucher,lists@verbrauch.in.de\n"
  257.   )
  258.  
  259. ListManager.<list>.alias (optional)
  260.   If a list is named "Testlist" ListManager automatically scans for mails
  261.   to the names "Testlist" and "Mailinglist 'Testlist'". If you want
  262.   ListManager to check an additional alias you can specify it here.
  263.  
  264. ListManager.<list>.access
  265.   Generally everyone can subscribe to your Mailinglists just by sending a
  266.   control message to Listmanager. You can restrict the use of the commands
  267.   "ADD"/"SUBSCRIBE" and "REMOVE"/"UNSUBSCRIBE" to certain users by setting
  268.   "access" to a pattern which must match the address of the user sending
  269.   the control message.
  270.